﻿using System;
using System.Collections.Generic;
using System.Text;
using Tunynet.QingdaoCustoms.Serialization;
using System.Runtime.Serialization;


namespace ChinaCustoms.Qingdao.Workflow.Supports
{
    [DataContract]
    public class WorkflowTemplateInfo //: ExtendedAttributes
    {
        private int workflowTemplateID;
        [DataMember]
        public int WorkflowTemplateID
        {
            get { return workflowTemplateID; }
            set { workflowTemplateID = value; }
        }

        private string workflowTemplateName;
        [DataMember]
        public string WorkflowTemplateName
        {
            get { return workflowTemplateName; }
            set { workflowTemplateName = value; }
        }

        private Guid applicationID;
        [DataMember]
        public Guid ApplicationID
        {
            get { return applicationID; }
            set { applicationID = value; }
        }

        private string applicationName;
        [DataMember]
        public string ApplicationName
        {
            get { return applicationName; }
            set { applicationName = value; }
        }

        private Guid functionID;
        [DataMember]
        public Guid FunctionID
        {
            get { return functionID; }
            set { functionID = value; }
        }

        private string functionName;
        [DataMember]
        public string FunctionName
        {
            get { return functionName; }
            set { functionName = value; }
        }

        private Guid createUserID;
        [DataMember]
        public Guid CreateUserID
        {
            get { return createUserID; }
            set { createUserID = value; }
        }

        private string createUserName;
        [DataMember]
        public string CreateUserName
        {
            get { return createUserName; }
            set { createUserName = value; }
        }

        private DateTime createDate;
        [DataMember]
        public DateTime CreateDate
        {
            get { return createDate; }
            set { createDate = value; }
        }

        private string entityXML;
        [DataMember]
        public string EntityXML
        {
            get { return entityXML; }
            set { entityXML = value; }
        }

        private bool isDelete;
        [DataMember]
        public bool IsDelete
        {
            get { return isDelete; }
            set { isDelete = value; }
        }

        private bool isPublic;
        [DataMember]
        public bool IsPublic
        {
            get { return isPublic; }
            set { isPublic = value; }
        }


        #region 扩展属性
        
        #endregion

        //private string propertyNames = string.Empty;

        //public string PropertyNames
        //{
        //    get { return this.propertyNames; }
        //    set { this.propertyNames = value; }
        //}

        //private string propertyValues = string.Empty;

        //public string PropertyValues
        //{
        //    get { return this.propertyValues; }
        //    set { this.propertyValues = value; }
        //}
    }
}
